package com.groupbuying.provider.dao;

import com.groupbuying.provider.domain.StoreCapitalVirtualAccountDetailDO;
import com.groupbuying.provider.dto.StoreCapitalVirtualAccountDetailDTO;
import com.groupbuying.provider.utils.Query;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface StoreCapitalVirtualAccountDetailDao {

    List<StoreCapitalVirtualAccountDetailDTO> getListByPage(Query query);

    /**
     * 查询资金密码列表
     * @param query
     * @return
     */
    List<Map<String,Object>> getFinancialPwdList(Query query);

    /**
     * 查询资金密码列表计数
     */
    int countFinancialPwd(Map<String, Object> params);

    List<StoreCapitalVirtualAccountDetailDO> getStoreFlowListByStoreUuid(Map<String, Object> map);

    int countForFlow(Map<String, Object> map);
}
